SureTax Returns API
POST Reset Form Instance
Overview
This endpoint is used to reset a specific form instance to its initial state. This action clears any modifications or updates made to the form instance, restoring it to its default configuration. The reset operation is typically used when the form needs to be reprocessed or when changes need to be undone.
OperationId: POST Reset Form Instance
Authorization Method(s): OAuth
Verb: POST
End Point: /api/v1/Forms/ResetFormInstance
Example Request
{
"data": {
"id": "string",
"user": "string"
}
}| Display String | Field Name | Field Type |
|---|---|---|
| X-request-id* | x-request-id | string |
| code | description |
|---|---|
| 202 | The API responds with this code to indicate that the data was sent successfully. |
| 204 | 204 No Content If the form does not exist, the API will respond with a No Content status. Error Responses |
| 400 | Bad Request - The server could not process the request due to invalid input or missing required parameters. |
| 401 | 401 Unauthorized: The user's authentication is not valid. |
| 500 | Internal Server Error - An unexpected error occurred on the server while processing the request. |